//
//  Equation.h
//  MathMasterMain
//
//  Created by Jordon Phillips on 3/23/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//
//  This class is used to create the equations that need to be solved

#import <Foundation/Foundation.h>


@interface Equation : NSObject {
	int firstNumber;//The first number in the equation
	int secondNumber;//the second number in the equation
	int solution;//the answer to the equation
	int operand;//the operand for the equation, 0=+, 1=- and 2=*
	int difficulty;//the equation difficulty, 0=easy 1=medium 2=hard

}
@property int firstNumber;
@property int secondNumber;
@property int solution;
@property int operand;
@property int difficulty;

- (void)generateEquation;
- (bool)checkAnswer:(int)ans;

@end
